﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200097B RID: 2427
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class InteractTreasureDungeonGridCsReq : IMessage<InteractTreasureDungeonGridCsReq>, IMessage, IEquatable<InteractTreasureDungeonGridCsReq>, IDeepCloneable<InteractTreasureDungeonGridCsReq>, IBufferMessage
	{
		// Token: 0x17001EC0 RID: 7872
		// (get) Token: 0x06006CF3 RID: 27891 RVA: 0x00124379 File Offset: 0x00122579
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<InteractTreasureDungeonGridCsReq> Parser
		{
			get
			{
				return InteractTreasureDungeonGridCsReq._parser;
			}
		}

		// Token: 0x17001EC1 RID: 7873
		// (get) Token: 0x06006CF4 RID: 27892 RVA: 0x00124380 File Offset: 0x00122580
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return InteractTreasureDungeonGridCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001EC2 RID: 7874
		// (get) Token: 0x06006CF5 RID: 27893 RVA: 0x00124392 File Offset: 0x00122592
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return InteractTreasureDungeonGridCsReq.Descriptor;
			}
		}

		// Token: 0x06006CF6 RID: 27894 RVA: 0x00124399 File Offset: 0x00122599
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public InteractTreasureDungeonGridCsReq()
		{
		}

		// Token: 0x06006CF7 RID: 27895 RVA: 0x001243A1 File Offset: 0x001225A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public InteractTreasureDungeonGridCsReq(InteractTreasureDungeonGridCsReq other) : this()
		{
			this.gridId_ = other.gridId_;
			this.displayValue_ = other.displayValue_;
			this.hMPPFGCIFJK_ = other.hMPPFGCIFJK_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006CF8 RID: 27896 RVA: 0x001243DE File Offset: 0x001225DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public InteractTreasureDungeonGridCsReq Clone()
		{
			return new InteractTreasureDungeonGridCsReq(this);
		}

		// Token: 0x17001EC3 RID: 7875
		// (get) Token: 0x06006CF9 RID: 27897 RVA: 0x001243E6 File Offset: 0x001225E6
		// (set) Token: 0x06006CFA RID: 27898 RVA: 0x001243EE File Offset: 0x001225EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GridId
		{
			get
			{
				return this.gridId_;
			}
			set
			{
				this.gridId_ = value;
			}
		}

		// Token: 0x17001EC4 RID: 7876
		// (get) Token: 0x06006CFB RID: 27899 RVA: 0x001243F7 File Offset: 0x001225F7
		// (set) Token: 0x06006CFC RID: 27900 RVA: 0x001243FF File Offset: 0x001225FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DisplayValue
		{
			get
			{
				return this.displayValue_;
			}
			set
			{
				this.displayValue_ = value;
			}
		}

		// Token: 0x17001EC5 RID: 7877
		// (get) Token: 0x06006CFD RID: 27901 RVA: 0x00124408 File Offset: 0x00122608
		// (set) Token: 0x06006CFE RID: 27902 RVA: 0x00124410 File Offset: 0x00122610
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HMPPFGCIFJK
		{
			get
			{
				return this.hMPPFGCIFJK_;
			}
			set
			{
				this.hMPPFGCIFJK_ = value;
			}
		}

		// Token: 0x06006CFF RID: 27903 RVA: 0x00124419 File Offset: 0x00122619
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as InteractTreasureDungeonGridCsReq);
		}

		// Token: 0x06006D00 RID: 27904 RVA: 0x00124428 File Offset: 0x00122628
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(InteractTreasureDungeonGridCsReq other)
		{
			return other != null && (other == this || (this.GridId == other.GridId && this.DisplayValue == other.DisplayValue && this.HMPPFGCIFJK == other.HMPPFGCIFJK && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006D01 RID: 27905 RVA: 0x00124484 File Offset: 0x00122684
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GridId != 0U)
			{
				num ^= this.GridId.GetHashCode();
			}
			if (this.DisplayValue != 0U)
			{
				num ^= this.DisplayValue.GetHashCode();
			}
			if (this.HMPPFGCIFJK != 0U)
			{
				num ^= this.HMPPFGCIFJK.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006D02 RID: 27906 RVA: 0x001244F5 File Offset: 0x001226F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006D03 RID: 27907 RVA: 0x001244FD File Offset: 0x001226FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006D04 RID: 27908 RVA: 0x00124508 File Offset: 0x00122708
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DisplayValue != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.DisplayValue);
			}
			if (this.GridId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.GridId);
			}
			if (this.HMPPFGCIFJK != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.HMPPFGCIFJK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006D05 RID: 27909 RVA: 0x0012457C File Offset: 0x0012277C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GridId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GridId);
			}
			if (this.DisplayValue != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DisplayValue);
			}
			if (this.HMPPFGCIFJK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HMPPFGCIFJK);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006D06 RID: 27910 RVA: 0x001245EC File Offset: 0x001227EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(InteractTreasureDungeonGridCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GridId != 0U)
			{
				this.GridId = other.GridId;
			}
			if (other.DisplayValue != 0U)
			{
				this.DisplayValue = other.DisplayValue;
			}
			if (other.HMPPFGCIFJK != 0U)
			{
				this.HMPPFGCIFJK = other.HMPPFGCIFJK;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006D07 RID: 27911 RVA: 0x00124650 File Offset: 0x00122850
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006D08 RID: 27912 RVA: 0x0012465C File Offset: 0x0012285C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 48U)
					{
						if (num != 72U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.HMPPFGCIFJK = input.ReadUInt32();
						}
					}
					else
					{
						this.GridId = input.ReadUInt32();
					}
				}
				else
				{
					this.DisplayValue = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002989 RID: 10633
		private static readonly MessageParser<InteractTreasureDungeonGridCsReq> _parser = new MessageParser<InteractTreasureDungeonGridCsReq>(() => new InteractTreasureDungeonGridCsReq());

		// Token: 0x0400298A RID: 10634
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400298B RID: 10635
		public const int GridIdFieldNumber = 6;

		// Token: 0x0400298C RID: 10636
		private uint gridId_;

		// Token: 0x0400298D RID: 10637
		public const int DisplayValueFieldNumber = 1;

		// Token: 0x0400298E RID: 10638
		private uint displayValue_;

		// Token: 0x0400298F RID: 10639
		public const int HMPPFGCIFJKFieldNumber = 9;

		// Token: 0x04002990 RID: 10640
		private uint hMPPFGCIFJK_;
	}
}
